import 'package:flutter/material.dart';

class Mocklistview extends StatelessWidget {
  final int valueCount;

  const Mocklistview({super.key, this.valueCount = 20});

  @override
  Widget build(BuildContext context) {
    List<ListTile> list = [];
    for (var i = 1; i <= valueCount; i++) {
      list.add(ListTile(
        title: Text("value$i"),
      ));
    }
    return ListView(
      children: list,
    );
  }
}
